we-dont-have-the-needed-fonts
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Mon, 29 Apr 2024 19:36:22 +0000 (21:36 +0200)
committerRene Engelhard <rene@debian.org>
Mon, 29 Apr 2024 19:36:22 +0000 (21:36 +0200)
Gbp-Pq: Name we-dont-have-the-needed-fonts.diff

sw/qa/core/text/text.cxx

index 690fc333afb596755e30eab35009d628ddde7d3a..34d544717903fae3a60e0200e577cea8c2ba5acd 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <swmodeltestbase.hxx>
 
+#include <config_fonts.h>
+
 #include <memory>
 
 #include <com/sun/star/text/BibliographyDataField.hpp>
@@ -1515,6 +1517,8 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testParaUpperMarginFlyIntersect)
     CPPUNIT_ASSERT_EQUAL(521, nHeight);
 }
 
+/* needs Source Han Serif SC*/
+#if HAVE_MORE_FONTS
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
 {
     // Load the document.
@@ -1552,6 +1556,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
         }
     }
 }
+#endif
 
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testScriptinfosurrogatePairs)
 {